#ifndef __LED_OP_H__
#define __LED_OP_H__

#include <stdio.h>

typedef enum {
    LED_STAT_NOT_CONFIG = 0,
    LED_STAT_NO_NETWORK,
    LED_STAT_INVALID_TIME,
    LED_STAT_SENSOR_FAULT,
    LED_STAT_BREATH,
    LED_STAT_OK,
} led_status_t;

void init_led(void);
void led_set_status(led_status_t status);
void led_clear_status(led_status_t status);
led_status_t led_get_status(void);
int is_set_led_stat(led_status_t status);

#endif /* __LED_OP_H__ */
